﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TUSample
{
    public class TUSimulacreClass : TUSampleClass
    {
        public double CalculerSomme(Int32 a, Int32 b)
        {
            var testa = SousMethode(a);
            if (testa)
            {
                var testb = !SousMethode(b);
                if (!testb) return a;
                else return b;
            }
            else
                return a + b;
        }
        
        private bool SousMethode(Int32 param)
        {
            return true;
        }
    }
}
